package com.lagou.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author Roger
 * @date 2020/8/25 11:29
 * @description
 */
@Aspect
@Component
public class MyAspect {
    @Before("execution(* com.lagou..*.*(..))")
    public void before() {
        System.out.println("before...");
    }
}
